export function getBaseUrl () {
  let url = window.location.origin
  if(url.indexOf('localhost')>-1){
    url = '/api'
  }else if(url){
    url = url +'/zspic/'
  }else{
    url = 'https://bops.xiaosache.com/zspic/'
  }
  return  url
}
